package router

import (
	"exam12_23/internal/api"
	"exam12_23/internal/middleware"
	"github.com/gin-gonic/gin"
)

func FriendRouter(c *gin.RouterGroup) {
	friendRouter := c.Group("friend").Use(middleware.MiddleWare())
	{
		friendRouter.POST("create", api.CreateFriend)
		friendRouter.POST("yes", api.YesFriend)
		friendRouter.POST("no", api.NoFriend)
	}
}
